package com.liuzhilong.infrastructure.basic.adapter;

import com.liuzhilong.infrastructure.basic.adapter.otherservice.SomeOtherServiceImpl;

public class UseCase {
    public static void main(String[] args) {

        userAdapter();

    }
    public static void userAdapter(){
        MyService myService = SomeOtherServiceAdapter.create(new SomeOtherServiceImpl());

        System.out.println(myService.doSomeService());





    }
}
